I found a small bug in xenmon. Even if I gave xenmon a wrong
authorEwan Mellor <ewan@xensource.com>
Thu, 2 Nov 2006 23:01:32 +0000 (23:01 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 2 Nov 2006 23:01:32 +0000 (23:01 +0000)
commite34b744e2c6373ac44ba3c8b729d1f6e03ab6832
treecf555d043566d737c94d646e3655850df130d199
parent7be8e242eee700afd5f498f0bb69a03957b6fd36
I found a small bug in xenmon.  Even if I gave xenmon a wrong
parameter, xenmon did not become an error.

This patch adds a checking of wrong parameter into xenmon.
If wrong parameter is given, xenmon shows the following error
messages.

usage: xenmon.py [options]

xenmon.py: error: No parameter required

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/xenmon/xenmon.py